GlobalPayments\WooCommercePaymentGatewayProvider\PaymentMethods\Apm\Paypal S

Total Complexity 26
Dependencies 11
Dependents 3
Total lines 250
Lines of code 161
Logical lines of code 77
Comment lines 47
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
process_async_return()
A
39 10 68
add_capture_order_action()
S
57 5 16
process_payment()
S
52 3 26
initiate_payment()
S
63 1 11
get_query_params()
S
63 1 11
get_method_availability()
S
82 1 3
configure_method_settings()
S
67 1 8
get_request_type()
S
82 1 3
get_provider_endpoints()
S
66 1 8
is_shipping_required()
S
82 1 3
add_hooks()
S
75 1 4